package com.iocup.keybastion.spring.starter.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author xyjxust
 * @create 2022/4/15 15:19
 **/
@Setter
@Getter
@Configuration
@ConfigurationProperties("security.http")
public class HttpProperties {

    /**
     * http请求的超时时间  单位秒
     */
    private int requestDataHttpTimeout = 120;
    /**
     * 连接http请求的超时时间  单位秒
     */
    private int connectionDataHttpTimeout = 120;
}
